.set-manager-container {
  width: 100%;
  min-height: 100vh;
  background: #F2F2F6;
  overflow-x: hidden;
}

// 顶部导航区域背景
.header-wrapper {
  width: 750px;
  height: 284px;
  background: #3F99F9;
  border-radius: 0px 0px 0px 0px;
  position: relative;
  margin: 0 auto;
}

// 顶部导航
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 40px 20px 20px;
  background: transparent;
  position: relative;

  .back-icon {
    width: 60px;
    height: 60px;
    font-size: 60px;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 324px;
    height: 54px;
    font-family: 'Source Han Sans CN', 'Source Han Sans CN';
    font-weight: 500;
    font-size: 36px;
    color: #FFFFFF;
    text-align: center;
    font-style: normal;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cancel-btn {
    font-family: 'Source Han Sans CN';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 48px;
    color: #FFFFFF;
    cursor: pointer;
  }
}

// 搜索框容器
.search-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 670px;
  height: 70px;
  background: #FFFFFF;
  border-radius: 10px 10px 10px 10px;
  display: flex;
  align-items: center;

  :deep(.van-search) {
    padding: 0;
    background: transparent;
    width: 100%;
    height: 100%;

    .van-search__content {
      background: transparent;
      border: none;
      border-radius: 0;
      height: 100%;
      display: flex;
      align-items: center;
      padding: 24px 0 23px 36px;

      // 解决不同分辨率下文字显示问题
      .van-cell--borderless {
        height: auto;
      }

      .van-search__field {
        height: auto;
      }

      .van-field__control {
        font-family: 'Source Han Sans CN', 'Source Han Sans CN';
        font-weight: 500;
        font-size: 28px;
        color: #333;
        text-align: left;
        font-style: normal;
        text-transform: none;
        background: transparent;
        border: none;
        height: auto;

        &::placeholder {
          font-family: 'Source Han Sans CN', 'Source Han Sans CN';
          font-weight: 500;
          font-size: 28px;
          color: #97999C;
          text-align: left;
          font-style: normal;
          text-transform: none;
        }
      }
    }

    .van-search__action {
      display: none;
    }

    .van-field__left-icon {
      width: 23px;
      height: 23px;
      background: transparent;
      border-radius: 0;
      margin-right: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;

      .van-icon {
        font-size: 28px;
        color: #97999C;
      }
    }
  }
}

// 面包屑导航
.breadcrumb {
  display: flex;
  align-items: center;
  padding-left: 40px;
  padding-top: 15px;
  padding-bottom: 22px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  font-size: 30px;
  font-weight: 500;
  color: #9999;
  margin-bottom: 20px;
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.05);
  .breadcrumb-item {
    &.clickable {
      cursor: pointer;
      color: #2D67B0;
      &:hover {
        color: #1a4d8a;
      }

      &:active {
        color: #0f3a6b;
      }
    }

    &.current {
      // width: 150px;
      height: 45px;
      font-family: Source Han Sans CN, Source Han Sans CN;
      font-weight: 500;
      font-size: 30px;
      color: #2D67B0;
      text-align: left;
      font-style: normal;
      text-transform: none;
    }
  }

  .breadcrumb-arrow {
    font-size: 38px;
    margin: 0 8px;
  }
}

// 成员列表
.member-list {
  // width: 670px;
  // margin: 40px auto 0;
  background: #FFFFFF;
  // border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.05);
  .member-item {
    display: flex;
    align-items: center;
    padding-top: 32px;
    padding-bottom: 35px;
    // border-bottom: 1px solid #F2F2F6;
    cursor: pointer;
    position: relative;

     &:hover {
       background-color: #f8f9fa;
     }

     &:active {
       background-color: #f5f5f5;
     }

    // 使用伪元素创建自定义边框
    &::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 40px; // 与select-status的margin-left对齐
      right: 40px; // 与搜索框的右边距对齐
      height: 1px;
      background-color: #F2F2F6;
    }

    .member-avatar {
      width: 76px;
      height: 76px;
      margin-right: 17px;
      overflow: hidden;
      flex-shrink: 0;
      border-radius: 20px 20px 20px 20px;
      img {
        width: 100%;
        height: 100%;
        border-radius: 20px 20px 20px 20px;
        object-fit: cover;
      }
    }

    .member-info {
      flex: 1;

      .member-name {
        font-family: Source Han Sans CN, Source Han Sans CN;
        font-weight: 400;
        font-size: 32px;
        color: #333333;
        letter-spacing: 1px;
        text-align: left;
        font-style: normal;
        text-transform: none;
        margin-bottom: 6px;
      }

      .member-position {

        font-family: Source Han Sans CN, Source Han Sans CN;
        font-weight: 400;
        font-size: 22px;
        color: #999999;
        letter-spacing: 1px;
        text-align: left;
        font-style: normal;
        text-transform: none;
      }
    }

    .select-status {
      margin-left: 40px;
      // margin-top: 32px;
      // margin-bottom: 55px;
      display: flex;
      align-items: center;
      margin-right: 40px;

      .van-icon {
        font-size: 30px;

        &.selected {
          color: #2D67B0;
        }

        &.unselected {
          color: #E5E5E5;
        }
      }
    }
  }
}


// 空状态
.empty-state {
  width: 670px;
  margin: 100px auto;
  text-align: center;

  .empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
    opacity: 0.3;

    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  .empty-text {
    font-family: 'Source Han Sans CN';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 48px;
    color: #97999C;
  }
}


// 为底部按钮预留空间
// .member-list {
//   margin-bottom: 200px;
// }

// .empty-state {
//   margin-bottom: 200px;
// }

// 加载状态样式
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;

  .loading-text {
    margin-top: 12px;
    color: #666;
    font-size: 14px;
  }
}

// 底部操作区域样式
.bottom-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 30px 40px;
  border-top: 1px solid #f0f0f0;
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.05);
  .bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .selected-info {

      height: 41px;
      font-family: Source Han Sans CN, Source Han Sans CN;
      font-weight: 400;
      font-size: 28px;
      color: #333333;
      text-align: left;
      font-style: normal;
      text-transform: none;

      .select-number {

        font-family: Source Han Sans CN, Source Han Sans CN;
        font-weight: 400;
        font-size: 28px;
        color: #2D67B0;
        text-align: left;
        font-style: normal;
        text-transform: none;
      }
    }

    .confirm-btn {
      cursor: pointer;
      width: 201px;
      height: 38px;
      font-family: Source Han Sans CN, Source Han Sans CN;
      font-weight: 400;
      font-size: 26px;
      color: #FFFFFF;
      text-align: center;
      font-style: normal;
      text-transform: none;
      background: #2D67B0;
      border-radius: 10px;
      padding: 8px 0 14px 0;
      &.disabled {
        background: #c8c9cc;
        cursor: not-allowed;
      }

      &:not(.disabled):active {
        background: #2D67B0;
      }
    }
  }
}

// 骨架屏容器样式
.skeleton-container {
  padding: 0 40px;
  margin-top: 40px;
}